package com.cj.mobile.iabp.mvp.model.entity;

/**
 * 账单列表
 */
public class BillListInfo {

    public BillListInfo() {
    }

    /**
     * 月账单
     */
    public BillListInfo(String date, int recycleNum, double totalWeight, String unit, double totalExpenses, double totalRevenue, double totalSales, int salesOrder, double salesTonnage) {
        this.date = date;
        this.inDepotOrder = recycleNum;
        this.inDepotTonnage = totalWeight;
        this.unit = unit;
        this.totalExpenses = totalExpenses;
        this.totalRevenue = totalRevenue;
        this.totalSales = totalSales;
        this.salesOrder = salesOrder;
        this.salesTonnage = salesTonnage;
    }

    /**
     * 年账单
     */
    public BillListInfo(String year, String date, int recycleNum, double totalWeight, String unit, double totalExpenses, double totalRevenue, double totalSales, int salesOrder, double salesTonnage) {
        this.year = year;
        this.date = date;
        this.inDepotOrder = recycleNum;
        this.inDepotTonnage = totalWeight;
        this.unit = unit;
        this.totalExpenses = totalExpenses;
        this.totalRevenue = totalRevenue;
        this.totalSales = totalSales;
        this.salesOrder = salesOrder;
        this.salesTonnage = salesTonnage;
    }

    //---------------------------------------------通用---------------------------------------------
    // 总收益(元)
    private double totalRevenue;
    // 总收入(元)
    private double totalSales;
    // 总支出(元)
    private double totalExpenses;
    // 入库单数
    private int inDepotOrder;
    // 入库吨位(吨)
    private double inDepotTonnage;
    // 重量单位
    private String unit;
    // 销售单数
    private int salesOrder;
    // 销售吨位
    private double salesTonnage;
    //---------------------------------------------月账单---------------------------------------------
    // 账单产生日期：年、月；
    private String date;

    //---------------------------------------------年账单---------------------------------------------
    // 年份
    private String year;

    public double getTotalRevenue() {
        return totalRevenue;
    }

    public void setTotalRevenue(double totalRevenue) {
        this.totalRevenue = totalRevenue;
    }

    public double getTotalSales() {
        return totalSales;
    }

    public void setTotalSales(double totalSales) {
        this.totalSales = totalSales;
    }

    public double getTotalExpenses() {
        return totalExpenses;
    }

    public void setTotalExpenses(double totalExpenses) {
        this.totalExpenses = totalExpenses;
    }

    public int getInDepotOrder() {
        return inDepotOrder;
    }

    public void setInDepotOrder(int inDepotOrder) {
        this.inDepotOrder = inDepotOrder;
    }

    public double getInDepotTonnage() {
        return inDepotTonnage;
    }

    public void setInDepotTonnage(double inDepotTonnage) {
        this.inDepotTonnage = inDepotTonnage;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public int getSalesOrder() {
        return salesOrder;
    }

    public void setSalesOrder(int salesOrder) {
        this.salesOrder = salesOrder;
    }

    public double getSalesTonnage() {
        return salesTonnage;
    }

    public void setSalesTonnage(double salesTonnage) {
        this.salesTonnage = salesTonnage;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }
}
